<%@ Reference Control="~/Controls/Member.ascx" %>
<%@ Page language="vb" EnableViewStateMac="true" Inherits="_2bMatesSite.friends_add_comments" ValidateRequest="false" CodeFile="friends_add_comments.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<%@ Register TagPrefix="Member" TagName="Member" Src="Controls/Member.ascx" %>
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" height="100%">
	<tr runat=server id="trUserShortCut">
		<td colspan=3  align="center">
			<member:member runat="server" id="ucMemberShortcut"/>
		</td>
	</tr>
	<tr>
		<td colspan="3">
			<table cellspacing="0" cellpadding="0" width="100%" border="0" class="page_title">
				<tr>
					<td><asp:label id="lblAbout" runat="server"></asp:label></td>
					<td align="right"><asp:hyperlink id="hlBackToGroup" runat="server" cssclass="white_link"></asp:hyperlink></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td valign="top" width="100%" height="100%" class="main_table_border">
			<div class="content">
				<form id="frmAddComment" method="post" runat="server">
					<table cellSpacing="0" cellPadding="0" width="100%" border="0" class="main_text">
						<tr id="trCommentPost" runat=server>
							<td>
								<table cellspacing="0" cellpadding="0" width="500" border="0" class="main_text">
									<tr>
										<td valign="top" id="error">
											<asp:validationsummary id="ValidationSummary1" runat="server" CssClass="val_summary" DisplayMode="List" ForeColor="#F04C03" Height="32px"></asp:validationsummary>
										</td>
									</tr>
									<tr>
										<td align="left" vAlign="top">
											<b><asp:Label id="lblAddComments" runat="server">Add Comments:</asp:Label></b><br />
											<asp:TextBox id="txtComments" runat="server" TextMode="MultiLine" CssClass="mail_field" Rows="8" MaxLength="2000" Columns="10"></asp:TextBox>
											<asp:RequiredFieldValidator id="rvTxtComments" runat="server" ErrorMessage="You cannot post blank comment" Display="None" ControlToValidate="txtComments"></asp:RequiredFieldValidator>
										</td>
									</tr>
									<tr>
										<td align="left"><br /><asp:button id="btnSend" runat="server" Text="Submit" CssClass="btn"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnSend_Click"></asp:button>&nbsp;&nbsp;
											<asp:button id="btnCancel" runat="server" CssClass="btn" Text="Cancel" CausesValidation="False"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnCancel_Click"></asp:button></td>
									</tr>
								</table>
							</td>
						</tr>	
					
						<tr id="trConfrimation" runat=server visible=false>
							<td >
								<table cellspacing="0" cellpadding="0" width="500" border="0" height="100%" class="main_text">
									<tr>
										<td valign="top">
											<asp:label id="lblMessage" runat="server" font-bold="True">This is how your comment will appear on the page. Please confirm your comment:</asp:label>
											<br/>
											<br/>
											<pre style="WORD-WRAP: break-word" wrap><asp:label id="lblComment" runat="server">Description</asp:label></pre>
											<br/>
										</td>
									</tr>
									<tr>
										<td valign="top">
											<asp:button id="btnPost" runat="server" cssclass="btn" text="Post Comment" width="113px" onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnPost_Click"></asp:button>
											<br/><br/>
											<asp:button id=btnEdit runat="server" cssclass="btn" text="Edit"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnEdit_Click"></asp:button>
											<asp:button id="btnCancelConfirmation" runat="server" cssclass="btn" text="Cancel" causesvalidation="False"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnCancel_Click"></asp:button>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						
					</table>
				</form>	
			</div>
		</td>
	</tr>
</table>
